/**
* Material objects get the 3 vertices from the face / polygon
* then render the face / polygon in whichever way defined
* 
* project3D Engine
* @author John Sword
* @version 2 - AS3
*/

package engine.materials
{
	
	import engine.geom.Face;
	import flash.display.Sprite;
	import flash.display.BitmapData;
	import flash.display.Sprite;
	
	public class Material
	{
		
		public var texture:BitmapData = null;
		public var wireSize:Number = 0;
		public var wireColor:Number = 0xFFFFFF;
		public var wireAlpha:Number = 0;
		
		public function Material ( tex:BitmapData )
		{
			if (tex) texture = tex; 
		}
		
		public function render ( face:Face,screen:Sprite ) : void {	}
		
	}
	
}

